﻿using System.Collections.Generic;
using System.Drawing;
using DataAccessLayer;

namespace Editor
{
    public interface IProtagonistPresenter
    {
        List<Protagonist> Model { get; set; }

        Protagonist AddProtagonist();

        Protagonist GetProtagonist(int id);

        void SaveData(int id, int hp, int power, int speed, int weaponSlots);

        void SetProtagonistPosition(int id, int x, int y);

        void SetProtagonistSourceRect(int id, int x, int y, int width, int height);

        bool AddWeaponToProtagonist(int protId, int weaponId, out string errMsg);

        void RemoveProtagonistCollisionRectangle(int id, int selectedIndex);

        void SaveData(int id, AircraftStats hp, RectangleProperties rectangleProperties, EditorVector2 position);
        
        void SetProtagonistSourceRectangle(int id, Rectangle curSourceRect);

        void DeleteProtagonist(int id);

        void SetProtagonistSprite(int id, string spriteName);

        void SetCollisionRectangle(int id, Rectangle curColRect);

        void SetCollisionRectangle(int id, int colRectIndex, EditorRect colRect);
    }
}